//
//  VideoInfoApi.m
//  SmartiOSPublisher
//
//  Created by Liu,Qingcan on 2017/4/26.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import "VideoInfoApi.h"

@implementation VideoInfoApi{
    NSInteger _room_id;
}
- (id)initWithRoomId:(NSInteger )roomId {
    self = [super init];
    if (self) {
        _room_id = roomId;
    }
    return self;
}

- (NSString *)requestUrl{
    return @"/video/get_video_info";
}

- (YTKRequestSerializerType)requestSerializerType{
    return YTKRequestSerializerTypeJSON;
}

- (YTKRequestMethod)requestMethod{
    return YTKRequestMethodPOST;
}



- (id)requestArgument{
    return @{
             @"roomid":[NSNumber numberWithInteger:_room_id]
             };
}




@end
